vscsiif.h: replace PAGE_SIZE with VSCSIIF_PAGE_SIZE
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 19 Oct 2016 19:22:35 +0000 (12:22 -0700)
committerWei Liu <wei.liu2@citrix.com>
Fri, 21 Oct 2016 08:58:16 +0000 (09:58 +0100)
commitd93539cc486aa6022195305dbea5fe12f90b69fe
treef145299982c591ab8e3ed5a8b61a3d1f8128567c
parent04535bee06858fd949c743cfecc4d7b96333a16c
vscsiif.h: replace PAGE_SIZE with VSCSIIF_PAGE_SIZE

Do not reference PAGE_SIZE directly: it could be undefined, or it could
have different values in the frontend or in the backend.

Define VSCSIIF_PAGE_SIZE as 4096, assuming all users of vscsiif.h have
4K page granularity. Replace PAGE_SIZE with VSCSIIF_PAGE_SIZE.

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/include/public/io/vscsiif.h